package com.learngittesting.dsnTest;

import org.junit.Test;

import java.io.IOException;

/**
 * 测试类
 * @author DongSinan
 * @date 2022/2/17 13:56
 */
public class TestContral {

    @Test
    public void listTest()
    {
        ListTest listTest=new ListTest();

        listTest.listAdd();
        listTest.listSort();

        listTest.listErgodicity();

        //获取第三个值
        System.out.println(listTest.getList(3));

    }


    @Test
    public void mapTest()
    {
        MapTest mapTest=new MapTest();
        mapTest.mapAdd();

        mapTest.mapErgodicity1();

        mapTest.mapErgodicity2();

        mapTest.mapErgodicity3();

    }

    @Test
    public void fileTest()
    {
        FileTest fileTest=new FileTest();

        fileTest.fileTest();
    }


    @Test
    public void dateTest()
    {
        DateTest dateTest=new DateTest();

        dateTest.dateTest();

        dateTest.dateTestFormatting();

        dateTest.dateTestChange();
    }
}
